package community.hospital.common;

/**
 * @Author：ydj
 * @Date：2023/1/20 15:48
 */
public class PermissionConstant {
    /**
     * role
     */
    public static final String SUPER_ADMIN = "super_admin";

    public static final String ADMIN = "admin";

    /**
     * 用户权限
     */
    public static final String LIST_USER = "list:user";
    public static final String REMOVE_USER = "remove:user";
    public static final String UPDATE_USER = "update:user";
    public static final String QUERY_USER = "query:user";
    /**
     * 角色权限
     */
    public static final String LIST_ROLE = "list:role";
    public static final String REMOVE_ROLE = "remove:role";
    public static final String UPDATE_ROLE = "update:role";
    public static final String ADD_ROLE = "add:role";
    /**
     * 菜单权限
     */
    public static final String LIST_MENU = "list:menu";
    public static final String REMOVE_MENU = "remove:menu";
    public static final String UPDATE_MENU = "update:menu";
    public static final String ADD_MENU = "add:menu";
    /**
     * 医院权限
     */
    public static final String LIST_HOSPITAL = "list:hospital";
    public static final String REMOVE_HOSPITAL = "remove:hospital";
    public static final String UPDATE_HOSPITAL = "update:hospital";
    public static final String ADD_HOSPITAL = "add:hospital";
    /**
     * 科室权限
     */

    public static final String LIST_DEPARTMENT = "list:department";
    public static final String REMOVE_DEPARTMENT = "remove:department";
    public static final String UPDATE_DEPARTMENT = "update:department";
    public static final String ADD_DEPARTMENT = "add:department";
    /**
     * 医生权限·
     */

    public static final String LIST_DOCTOR = "list:doctor";
    public static final String REMOVE_DOCTOR = "remove:doctor";
    public static final String UPDATE_DOCTOR = "update:doctor";
    public static final String ADD_DOCTOR = "add:doctor";
    /**
     * 排班权限
     */
    public static final String LIST_SCHEDULE = "list:schedule";
    public static final String REMOVE_SCHEDULE = "remove:schedule";
    public static final String UPDATE_SCHEDULE = "update:schedule";
    public static final String ADD_SCHEDULE = "add:schedule";

    /**
     * 订单权限
     */
    public static final String LIST_ORDER = "list:order";
    public static final String REMOVE_ORDER = "remove:order";
    public static final String UPDATE_ORDER = "update:order";
    public static final String ADD_ORDER = "add:order";

    /**
     * 日志权限
     */
    public static final String LIST_OPERATION_LOG = "list:logs";


}
